//
//  NeworkTools+user.swift
//  上海微博
//
//  Created by zhangliming on 16/3/6.
//  Copyright © 2016年 zhangliming. All rights reserved.
//

import UIKit

extension NetworkTools {

    //MARK:-用户信息请求

    func loadUserInfo (uid:String, access_token:String, finished:([String:AnyObject]?) ->()){

        let urlString = "https://api.weibo.com/2/users/show.json"

        let parame = ["uid": uid, "access_token": access_token]

        request(.GET, URLString: urlString, parameters: parame, finshed: finished)
        
    }

}